package tw.com.msig.b2c.car.common.exception;

public class ApplicationException extends RuntimeException {

	private String code;
	
	private String message;
	
	public ApplicationException(String code, String message) {
		super(code);
		this.code = code;
		this.message = message;
	}
	
	public ApplicationException(String code) {
		this(code, null);
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
	
	
	
}
